import type { QuizActionsProps } from './props'
import { View } from '@tarojs/components'
import classNames from 'classnames'

export function QuizActions({
  className,
  children,
}: QuizActionsProps) {
  if (!children) {
    return null
  }

  return (
    <View className={classNames('flex flex-row items-center space-x-2', className)}>
      {children}
    </View>
  )
}
